#include "junix.h"
using namespace std;

int main(int argc, char **argv)
{
	boost::any ay = 1234;
	ay=string("hello,world");

	boost::any any1 = 1234;
	boost::any any2 = std::string("UNIX");
	any1.swap(any2);

	if( any1.type() == typeid(std::string))
		cout<<"any1 is string"<<endl;

	cout<< boost::any_cast<std::string>(any1)<<endl;
}
